/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package local;

import java.util.ArrayList;
import java.util.Map;
import javax.ejb.Local;
import model.Attempt;
import util.report.ChartsHelper;

/**
 *
 * @author yingzhang
 */
@Local
public interface ComputeSessionLocal {

    public double[][] computeIndivFourFourSet(Attempt att);

    public void generateComputeTestData();

    public Map<String, double[][]> superComputeOne(Attempt att);

    public Map<String, Double> superComputeTwo(Map<String, double[][]> sfResults1);

    public ArrayList<ChartsHelper> prepareRankingGraphFive(Map<String, double[][]> sfResults1, long industryId, boolean benchmarking);

    public ArrayList<ChartsHelper> prepareSixteenValueGraph(Map<String, double[][]> superComputeOne, long industryId,boolean recommendation);

    public ArrayList<ChartsHelper> prepareIndexTable(Map<String, Double> sfResults2);
    
    public ArrayList<ChartsHelper> prepareReportGraph(Map<String, double[][]> superComputeOne, long id, boolean benchmarking,boolean recommendation);

    public Attempt getAttemp(Long attemp_id);
}
